package com.lzw.breezeNovel.model.entity.pojo.user;

import com.lzw.breezeNovel.model.enums.user.BaseStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity
 * @date 2025/2/27
 * @description 记录用户的登入消息表
 */
@Data
@Schema(description = "登录日志表")
@SuppressWarnings("all")
public class LoginLog {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "登录IP地址")
    private String ipaddr;

    @Schema(description = "登录状态（0成功 1失败）")
    private BaseStatus status;

    @Schema(description = "提示信息")
    private String msg;
}
